//
//  StarView.h
//  CoachsBook
//
//  Created by huiyong li on 2022/8/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class StarView;
@protocol StarViewDelegate <NSObject>

@optional
- (void)starStarView:(StarView *)evaluator currentValue:(NSInteger)value;

@end


@interface StarView : UIView
- (id)initWithFrame:(CGRect)frame EmptyImage:(NSString *)Empty StarImage:(NSString *)Star;

@property (assign, nonatomic) id<StarViewDelegate>delegate;
@property (assign, nonatomic) NSInteger starNumber;
@property (assign, nonatomic) BOOL ischoose;

@end

NS_ASSUME_NONNULL_END
